<% form_tag works_path, :id => 'search', :method => :get do -%>
  <p>
  <%= text_field_tag :query, params[:query], :class => 'text', :title => 'site search' %>
  <%= submit_tag 'Search'.t, :class => 'button', :name => nil %>
  </p>
<% end -%>
